
package com.jiang.droidsms.data;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class SMSReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
//
//        Intent in = new Intent(context, ThreadsListActivity.class);
//
//        NotificationManager nm = (NotificationManager) context
//                .getSystemService(Context.NOTIFICATION_SERVICE);
//        Notification noti = new Notification(R.drawable.icon, "New SMS", System
//                .currentTimeMillis());
//        noti.flags |= Notification.FLAG_AUTO_CANCEL;
//        PendingIntent contentIntent = PendingIntent.getActivity(context, 0, in,
//                                                                0);
//        noti.setLatestEventInfo(context, null, null, contentIntent);
//        nm.notify(0, noti);
    }
}
